#!/usr/bin/env node

const http = require('http'),
      url = require('url');

const addr = 'http://localhost:3000';
const opt = url.parse(addr);
opt.method = 'post'
      
const req = http.request(opt,(res)=>{
  res.pipe(porcesss.stdout)
});
req.end('userName=tian&password=1234')
